<template>
  <div class="page">
    <div v-if="$route.path === '/operatePlan'" class="back" @click="backLast">
      <i class="el-icon-back" />
      <el-link class="operate-btn" type="primary">返回上层</el-link>
    </div>
  </div>
</template>

<script>
  export default {
    // 返回上层
    backLast() {
      this.$router.push({
        path: 'provideAssess'
      })
    }
  }
</script>

<style lang="scss" scoped>
.page{
  position: relative;
  .back{
    position: absolute;
    top: -22px;
    right: 2px;
    display: flex;
    align-items: center;
    color: var(--subjectColor);
    .el-icon-back{
      margin-right: 5px;
    }
  }
}
</style>

